/*
*{
    !*去除内外边框*!
    margin: 0px;
    padding: 0px;
}
.top{
    !*默认[div]高是0，宽是100%*!
    !* border: 1px solid blue;*!
    background-image:url("../img/banner_qtah.jpg") ;
    height: 808px;
    !*设置图片和浏览器的高度宽度相同*!
    background-size:100% 100% ;
    color: azure;
}
.top >div {
    !*  border: 1px solid peru;*!
    height: 120px;


}
!*定义first容器【1；拿到容器在进行定义并居中】*!
.top> div{
    display: flex;
    !*居中*!
    justify-content: center;

}
.top> div>div{
    width: 900px;
}
!*拿到这个下级div
 根据分析得：
 1：显示一行并两端对齐，将这个div设置为first容器
*!
.top> div:first-child>div{
    !* border: 1px solid khaki;*!
    height: 100px;
    display: flex;
    justify-content: space-between;
    !*上下居中*!
    align-items: center;
}
!*手机和号码也要显示一行
nth-child(1)是从一开始，表示从第一个div下的2个子div显示一行
*!
.top> div:nth-child(1)>div>div:nth-child(2){
    display: flex;
    !*上下居中*!
    align-items: center;
}
!*定义图片高宽，指定的像素*!
.top> div:nth-child(1)>div>div:nth-child(1){
    height: 141px;
    width: 204px;
}
!*不管图片多大都和指定的宽高相同*!
.top> div:nth-child(1)>div>div:nth-child(1)>img{
    height: 100%;
    width: 100%;
}


!*-----------------------------中间部分*!
!*对中间进行设置*!
.top> div:nth-child(2){!*表示第二个兄弟标签*!
    height: 50px;
    background-color: rgb(230,145,55);
    !*  display: flex;
      justify-content: center;*!
}
!*对上级的子类内容进行一行显示*!
.top> div:nth-child(2)>div{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
!*针对导航 设置鼠标事件*!
.x:hover{

}

.top>div:nth-child(2)>div>div:hover{
    background-color: aliceblue;
    color: blue;
    align-items: center;
    !*鼠标显示手的样式*!
    cursor: pointer;
}
!*设置字体上下居中*!
.x{

}
.top>div:nth-child(2)>div>div{
    line-height: 50px;
    height: 50px;
    !*左右间距25px*!
    padding: 0 25px;
}
!*----------------------广告信息展示部分*!
.top>div:nth-child(3)>div>div:nth-child(1){

    font-size: 40px;
    !*上40 左右0 下25*!
    margin: 40px 0 25px;
}
.top>div:nth-child(3)>div>div:nth-child(2)>div{
    margin: 10px 0px;
    font-size: 10px;

}
.s{
    display: flex;
    align-items: flex-end;
    margin: 10px 0px;
    font-size: 20px;
}
.si{
    color: rgb(230,145,55);
    font-size: 30px;
}
.sx{
    color: rgb(230,145,55);
    font-size: 30px;
    !*缩进当前字符*!
    text-indent: 1.5em;
}

*/




/*===============中间-----*/
.middle{
    /*上下50  左右0*/
    margin: 50px 0px;
    display: flex;
    justify-content: center;
}
.middle>div{
    display: flex;
    justify-content: space-between;
    width: 1150px;
}

.middle>div>div:first-child{
    border: 1px solid red;
    width: 590px;
}
.middle>div>div:nth-child(2){
    border: 1px solid blue;
    width: 500px;
}
/*设置较新动态中的文字*/
.middle>div>div:nth-child(1)>div:first-child{
    color: rgb(230,145,55);
    font-size: 20px;
    border: 1px solid red;
    padding: 20px;

}
/*设置文字居中并和图片在一行*/
.middle>div>div:nth-child(1)>div:nth-child(2){
    padding: 10px;
    display: flex;
    justify-content: space-between;

}
/*设置*/
.middle>div>div:nth-child(1)>div:nth-child(2)>div:first-child{
    height:200px;
    width:200px;
}
.middle>div>div:nth-child(1)>div:nth-child(2)>div:nth-child(2){
    width: 280px;


}

/*单行溢出*/
.middle>div>div:nth-child(1)>div:nth-child(2)>div:nth-child(2)>div>div{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*设置标题字体*/
.middle>div>div:nth-child(1)>div:nth-child(2)>div>div>div:nth-child(1){
    color: black;
    font-weight: bolder;
}
/*设置内容字体*/
.middle>div>div:nth-child(1)>div:nth-child(2)>div>div>div:nth-child(2){
    color: rgb(230,145,55);
    margin-top: 10px;
}
/*设置标题字体间的间距*/
.middle>div>div:nth-child(1)>div:nth-child(2)>div>div{
    height: 60px;
    /*设置每一行下面的虚线*/
    border-bottom: 1px dashed gold;

}
/*.size{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}*/
/*===============中间右边部分=-----------*/
/*设置产品信息中的文字*/
.middle>div>div:nth-child(2)>div:first-child{
    color: rgb(230,145,55);
    font-size: 20px;
    border: 1px solid blue;
    padding: 20px;

}
/*设置菜品显示一行*/
.caipin{
    display: flex;
    justify-content: space-between;
    padding: 10px;
}
/*设置图片大小*/
.dsxiao{
    width: 235px;
    height: 200px;
}
/*设置图片大小*/
.dsxiao>img{
    width: 100%;
    height: 100%;
}
/*设置菜品名称和配料的字体+单行溢出+点击事件*/
.name{
    color: black;
    font-weight: bolder;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}
/*设置辅料字体+单行溢出*/
.ingredients{
    width: 80px;
    color: rgb(230,145,55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}









/*
!*------------------底部============*!
.bottom>div:first-child{
    border: 1px solid blue;

}
.bottom>div:nth-child(2){
    display: flex;
    justify-content: center;
}

.bottom> div:nth-child(2)>div{
    width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bottom>div:nth-child(2)>div>div:nth-child(2){
    display: flex;
}
!*设置行高*!
.xz{
    line-height: 35px;
}
!*.bottom>div:nth-child(2)>div>div:nth-child(2)>div{

}*!
.xq{
    margin: 0 30px;
}
!*设置图片背景颜色*!
.bottom>div:nth-child(2)>div>div:nth-child(2)>div>img:nth-child(1):hover{
    content: url("../img/er_12_e2gr.png");
}
.bottom>div:nth-child(2)>div>div:nth-child(2)>div>img:nth-child(2):hover{
    content: url("../img/er_12_e2gr.png");
}
.bottom>div:nth-child(2)>div>div:nth-child(2)>div>img:nth-child(3):hover{
    content: url("../img/er_12_e2gr.png");
}
.bottom>div:nth-child(2)>div>div:nth-child(2)>div>img:nth-child(4):hover{
    content: url("../img/er_12_e2gr.png");
}
*/
